<div ng-controller="HuodongCtrl" ng-init="detailAction()">
    <ul class="sui-breadcrumb">
        <li>
            <a href="#/huodong/list">{{huodong_data.name?huodong_data.name:"报名活动详情"}}</a>
        </li>
        <li>{{'List'|translate}}</li>
        <span class="sui-form sui-form pull-right">
          <input type="text"  placeholder="{{'编号'|translate}}" ng-model="sn">
          <input type="text"  placeholder="{{'手机号'|translate}}" ng-model="mobile">
          <button class="sui-btn btn-primary" type="submit" ng-click="getDetail1()">{{'search'|translate}}</button>
        </span>
    </ul>
    <huodong-detail-tab ng-model="chosedStatus" click-tab="getDetail1()"></huodong-detail-tab>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'id'|translate}}</th>
                <th>{{'头像'|translate}}</th>
                <th>{{'用户名'|translate}}</th>
                <th>{{'手机号'|translate}}</th>
                <th>{{'微信号'|translate}}</th>
                <th>{{'QQ号'|translate}}</th>
                <th>{{'地址'|translate}}</th>
                <th>{{'支付金额'|translate}}</th>
                <th>{{'状态'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in detail_list">
                <td>
                    订单编号：{{list.detail_id}}
                    <br /> 报名编号：{{list.sn}}<br /> 创建时间：{{list.created_time | ddtt}}
                </td>
                <td style="display:-webkit-box;display:-webkit-flex;display:flex;">
                    <div style="-webkit-box-flex:1;-webkit-flex:1;flex:1;">
                        <wxinfo ng-model="list.member_id" stye="1"></wxinfo>
                    </div>
                    <div style="-webkit-box-flex:1;-webkit-flex:1;flex:1;"><img style="width:60px" ng-src="{{list.avatar}}" /></div>
                </td>
                <td>
                    {{list.nick_name}}
                </td>
                <td>
                    {{list.mobile}}
                </td>
                <td>{{list.weixin}}</td>
                <td>{{list.qq}}</td>
                <td>{{list.provice}} {{list.city}} {{list.district}} {{list.address}}</td>
                <td>
                    {{list.pay_amount}}
                    <span ng-show="list.coupon_fee">(包含优惠:{{list.coupon_fee}}元)</span>
                </td>
                <td>
                    <span ng-show="list.status == 1">未支付</span>
                    <span ng-show="list.status == 2">已支付</span>
                    <span ng-show="list.status == 3">已签到</span>
                    <span ng-show="list.status == 10">作废</span>
                    <print-order orderid="list.detail_id" type="baoming"></print-order>
                </td>
            </tr>
        </tbody>
    </table>
    <pager page-no="1" page-size="pageSize" total="detail_count11" get-data="getDetail1(pageNo)"></pager>
</div>